﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSP.Common.CacheManage;

namespace CSP.Common.Factories
{
    public class CachedProviderFactory
    {
        public static ICacheProvider GetLocalCachedProvider()
        {
            ICacheProvider cacheProvider = new LocalCachedProvider();
            return cacheProvider;
        }

        public static ICacheProvider GetMemCachedProvider()
        {
            ICacheProvider cacheProvider = new MemCachedProvider();
            return cacheProvider;
        }
    }
}
